package com.jz.community.basecomm.constant;

import com.tencent.mm.opensdk.modelbiz.WXLaunchMiniProgram;

/**
 * Created by Tony.Fan on 2018/3/12 16:08
 * <p>
 * 通用的常量
 */
public class Constant {

    //微信小程序打开类型
    final public static int WX_LAUNCH_MINI_PROGRAM_TYPE = WXLaunchMiniProgram.Req.MINIPROGRAM_TYPE_PREVIEW;

    //客服URL
    final public static String CUSTOM_SERVICE_URL = "http://kefu.easemob.com/webim/im.html?tenantId=14822";

    //正式环境 H5
    //final public static String HTTP_URL_BASE_H5_HEAD = "http://h5.shequren.cn/";

    //测试环境 H5
    final public static String HTTP_URL_BASE_H5_HEAD = "http://h5.shoppingyizhan.com/";

    // 正式环境
    final public static String HTTP_URL_BASE_HEAD = "http://api.shequren.cn/";

    //测试环境
    //final public static String HTTP_URL_BASE_HEAD = "http://api.shoppingyizhan.com/";

    //wifi测试环境
    public static final String WIFI_SERVER = HTTP_URL_BASE_HEAD + "sqr-wifi-stag/sqr/";

    //微信
    final public static String HTTP_WECHAT_URL_BASE_HEAD = "https://api.weixin.qq.com/sns/userinfo";

    //城市区号地址
    final public static String HTTP_ADCODE_URL_BASE_HEAD = "http://restapi.amap.com/v3/geocode/geo";

    //绑定推送id
    final public static String BIND_JUPSH_URL = HTTP_URL_BASE_HEAD + "bms/savejpushid";

    //查询商品基本信息列表
    final public static String SHOW_GOODS_INFOES = HTTP_URL_BASE_HEAD + "gds/goods-sqrs";


    //注册
    public static final String REGISTER_URL = HTTP_URL_BASE_HEAD + "uuc/users/register";

    //积分
    public static final String INTEGRAL_URL = HTTP_URL_BASE_HEAD + "uuc/user-integrals/page";

    //获取登录验证码
    public static final String SMS_LOGIN_CODE_URL = HTTP_URL_BASE_HEAD + "lgn/loginVercode";

    //短信验证码
    public static final String SMS_CODE_URL = HTTP_URL_BASE_HEAD + "uuc/verification-codes/";

    //校验验证码
    public static final String SMS_VALIDATE_CODE_URL = HTTP_URL_BASE_HEAD + "uuc/verification-codes";

    //微信登录
    final public static String LOGIN_WECHAT_NEW_URL = HTTP_URL_BASE_HEAD + "lgn/thirdPartyLogin";

    //登录
    final public static String LOGIN_NEW_URL = HTTP_URL_BASE_HEAD + "lgn/pwdLogin";

    //手机+登录码登录
    final public static String LOGIN_NEW_CODE_URL = HTTP_URL_BASE_HEAD + "lgn/vercodeLogin";

    //refreshToken
    final public static String LOGIN_REFRESH_TOKEN_URL = HTTP_URL_BASE_HEAD + "lgn/refreshToken";

    //重置密码
    public static final String RESET_PASSWORD_URL = HTTP_URL_BASE_HEAD + "uuc/users/reset-pwd/user-name";

    //启动广告
    public static final String STARTUP_ADV_URL = HTTP_URL_BASE_HEAD + "chn/chunnel-begin-advertisings/random";

    //商家添加收益
    public static final String ADD_SHOP_URL = HTTP_URL_BASE_HEAD + "chn/invite-shop/";

    //版本更新
    public static final String UPDATE_VERSION = HTTP_URL_BASE_HEAD + "shp/app-versions/max";

    //上传图片
    public static final String UPDATE_IMAGE_URL = HTTP_URL_BASE_HEAD + "uuc/upload-inco";

    //绑定微信账号合并
    public static final String BINGDING_WECHAT = HTTP_URL_BASE_HEAD + "uuc/user-auths/merger";

    //是否绑定用户
    public static final String BINGDING_USER_URL = HTTP_URL_BASE_HEAD + "uuc/user-auths/user-id/";

    //注册成功后通知Wifi
    public static final String CHECK_WIFI_REGISTER = WIFI_SERVER + "addWifiUser";

    //签到初始化
    public static final String MEMBER_SIGN_DATA = HTTP_URL_BASE_HEAD + "sgn/sign";

    //签到广告
    public static final String MEMBER_SIGN_ADV = HTTP_URL_BASE_HEAD + "sgn/sign/advertising";

    //点击签到
    public static final String CLICK_SIGN = HTTP_URL_BASE_HEAD + "sgn/sign";

    //签到奖品
    public static final String SIGN_AWARD = HTTP_URL_BASE_HEAD + "sgn/open-treasure";

    //卡包信息
    public static final String MONEY_INFO = HTTP_URL_BASE_HEAD + "wlt/card";

    //卡包列表详情
    public static final String MONEY_DETAIL = HTTP_URL_BASE_HEAD + "wlt/card/log";

    //卡包充值活动
    public static final String MONEY_RECHARGE_ACTIVE = HTTP_URL_BASE_HEAD + "chn/chunnel-card-activities";

    //卡包充值
    public static final String MONEY_RECHARGE = HTTP_URL_BASE_HEAD + "wlt/card/pay";

    //卡包兑换码信息
    public static final String MONEY_EXGHANGE_CODE = HTTP_URL_BASE_HEAD + "wlt/card/code";

    //卡包兑换
    public static final String MONEY_EXGHANGE = HTTP_URL_BASE_HEAD + "wlt/card";

    //企业采购信息
    public static final String MONEY_PURCHASE_INFO = HTTP_URL_BASE_HEAD + "wlt/ent";

    //提交企业采购信息
    public static final String PURCHASE_MONEY = HTTP_URL_BASE_HEAD + "wlt/ent";

    //我的卡包信息
    public static final String MY_CARD_URL = HTTP_URL_BASE_HEAD + "wlt/my-card";

    //动态刷新二维码
    public static final String REFRESH_CARD_URL = HTTP_URL_BASE_HEAD + "wlt/card/qr-code";

    //红包列表数据
    public static final String RED_PACKET_DATA = HTTP_URL_BASE_HEAD + "rps/redpacketlog";

    //分享有礼url
    public static final String SHARE_GIFT = HTTP_URL_BASE_HEAD + "rps/sharepageurl";

    //消息列表
    public static final String MESSAGE_LIST_DATA = HTTP_URL_BASE_HEAD + "bms/pushlist";

    //删除推送ID
    public static final String DELETE_PUSHID_URL = HTTP_URL_BASE_HEAD + "bms/quitpushid";

    //点击(读)消息
    public static final String READ_MESSAGE = HTTP_URL_BASE_HEAD + "bms/inforead";

    public static final String LOGIN_OUT = HTTP_URL_BASE_HEAD + "lgn/caslogout";

    //修改密码
    public static final String CHANGE_PASSWORD = HTTP_URL_BASE_HEAD + "uuc/users/reset-pwd/user-id";

    //订单列表
    public static final String ORDER_LIST_URL = HTTP_URL_BASE_HEAD + "ods/orders";

    //订单代发货 取消订单
    public static final String ORDER_CANCEL_STATUS_URL = HTTP_URL_BASE_HEAD + "ods/orders/per-cancle/";

    //限购库存
    public static final String GOODS_SKU_URL = HTTP_URL_BASE_HEAD + "ods/orders/goods-limit";

    //订单详情
    public static final String ORDER_DETAIL_URL = HTTP_URL_BASE_HEAD + "ods/orderinfo/";

    //申请退款
    public static final String APPLY_REFUND_URL = HTTP_URL_BASE_HEAD + "ods/orders/refund/";

    //订单跟踪
    public static final String ORDER_TRACK_URL = HTTP_URL_BASE_HEAD + "ods/orders/express/";

    //创建订单
    public static final String ORDER_URL = HTTP_URL_BASE_HEAD + "ods/orders";

    //订单支付
    public static final String ORDER_PAY_URL = HTTP_URL_BASE_HEAD + "ods/orders/pay";

    //订单图片上传
    public static final String ORDER_UPLOAD_IMAGE = HTTP_URL_BASE_HEAD + "ods/upload/image";

    //申请商品退款
    public static final String ORDER_SHARE_REFUND = HTTP_URL_BASE_HEAD + "ods/orders/share-refund";

    //自提点
    public static final String SHOP_ORDER_SELF_ADDRESS_URL = HTTP_URL_BASE_HEAD + "shp/shops/distance";

    //根据商铺ID查询自提点
    public static final String SHOP_NEAR_SELF_ADDRESS_URL = HTTP_URL_BASE_HEAD + "shp/shops/distance-shop";

    //店铺邮费
    public static final String SHOP_POSTAGE_URL = HTTP_URL_BASE_HEAD + "shp/shop-postage-qygs/shop-city";

    //检查是否配送地址
    public static final String SHOP_DISTRIBUTIONS_URL = HTTP_URL_BASE_HEAD + "shp/shop-distributions/shops";

    //用户信息
    public static final String USER_MSG_URL = HTTP_URL_BASE_HEAD + "uuc/users/baseinfo";

    //修改用户信息
    public static final String UPDATE_USER_MSG_URL = HTTP_URL_BASE_HEAD + "uuc/users";

    //修改用户头像
    public static final String UPDATE_USER_AVATAR_URL = HTTP_URL_BASE_HEAD + "uuc/user-icons";

    //添加收货地址
    public static final String ADD_USER_ADDRESS_URL = HTTP_URL_BASE_HEAD + "uuc/user-addres";

    //获取用户地址
    public static final String GET_USER_ADDRESS_URL = HTTP_URL_BASE_HEAD + "uuc/user-addres/user-id/";

    //删除用户地址
    public static final String DELETE_USER_ADDRESS_URL = HTTP_URL_BASE_HEAD + "uuc/user-addres/";

    //购物车
    public static final String GOODS_CART_URL = HTTP_URL_BASE_HEAD + "cat/carts";

    //购物车数量
    public static final String GOODS_CART_NUM_URL = HTTP_URL_BASE_HEAD + "cat/carts-sum";

    //商品优惠券
    public static final String GOODS_COUPON_URL = HTTP_URL_BASE_HEAD + "yhq/coupon-info/receive";

    //优惠券列表
    public static final String COUPON_LIST_URL = HTTP_URL_BASE_HEAD + "yhq/coupon-receive/user/";

    //领优惠券
    public static final String RECEIVE_COUPON_URL = HTTP_URL_BASE_HEAD + "yhq/coupon-receive";

    //领优惠券发放方式
    public static final String RECEIVE_COUPON_MODE_URL = HTTP_URL_BASE_HEAD + "yhq/coupon-receive/other";

    //订单优惠券 (商家卷、平台卷)
    public static final String ORDER_NEW_COUPON_URL = HTTP_URL_BASE_HEAD + "yhq/coupon-info/order";

    //订单优惠券 (平台卷)
    public static final String ORDER_PLATFORM_NEW_COUPON_URL = HTTP_URL_BASE_HEAD + "yhq/coupon-info/order/platform";

    //更新订单优惠券
    public static final String UPDATE_ORDER_NEW_COUPON_URL = HTTP_URL_BASE_HEAD + "yhq/coupon-usedinform";

    //绑定手机号后可领优惠券列表
    public static final String SPECIAL_COUPON_URL = HTTP_URL_BASE_HEAD + "yhq/coupon-info/special";

    //根据订单号查询确认收货后可领的优惠券列表
    public static final String SPECIAL_COUPON_ORDER_URL = HTTP_URL_BASE_HEAD + "yhq/coupon-info/order-id";

    //优惠券批量领取(订单完成/绑定手机号之后批量领取)
    public static final String COUPON_RECEIVE_URL = HTTP_URL_BASE_HEAD + "yhq/coupon-receive/all";

    //查询待收货订单列表页是否有可领取的优惠券
    public static final String COUPON_INFO_ORDER = HTTP_URL_BASE_HEAD + "yhq/coupon-info/order-list";

    //根据城市code及平台查询365类目列表
    public static final String CHUNNEL_CATEGORIES = HTTP_URL_BASE_HEAD + "chn/chunnel-categories-sqr/cityCode";
    //首页类目
    public static final String CHUNNEL_CATEGORIES_HOME = HTTP_URL_BASE_HEAD + "chn/chunnel-categories/cityCode";
    //首页数据
    public static final String CHUNNEL_HOME_PAGE = HTTP_URL_BASE_HEAD + "chn/chunnel-home-page";
    //人气推荐
    public static final String CHUNNEL_RECOMMEND = HTTP_URL_BASE_HEAD + "chn/chunnel-recommend";
    //新人专区
    public static final String CHUNNEL_NEWBORN = HTTP_URL_BASE_HEAD + "yhq/coupon/new-user";
    //查询优惠券状态
    public static final String COUPON_RECEIVE_IDS = HTTP_URL_BASE_HEAD + "yhq/coupon-receive/ids";

    //根据条件查询商品类目
    public static final String CATEGORIES = HTTP_URL_BASE_HEAD + "gds/categories";

    //楼下小店
    public static final String SHOP_DOWN_STAIRS = HTTP_URL_BASE_HEAD + "shp/shop-down-stairs";

    //热门关键词
    public static final String SEARCH_HOT_KEYWORD_URL = HTTP_URL_BASE_HEAD + "chn/chunnel-hotsearch/onetoten";

    //更新热门关键词
    public static final String SEARCH_UPDATE_HOT_KEYWORD_URL = HTTP_URL_BASE_HEAD + "chn/chunnel-hotsearch/";

    //商品详情
    public static final String GOODS_DETAIL_URL = HTTP_URL_BASE_HEAD + "gds/goods-sqrs/";

    //楼下小店商品基本信息列表
    public static final String FLOOR_GOODS_INFOES = HTTP_URL_BASE_HEAD + "gds/floor/goods-sqrs";

    //查询楼下小店类目列表
    public static final String FLOOR_CATEGORY_SQRS = HTTP_URL_BASE_HEAD + "gds/floor-category-sqrs";

    //楼下小店商铺详情
    public static final String NEARSHOP_INFOES = HTTP_URL_BASE_HEAD + "shp/shops";

    //邻里圈首页接口，判断是否加入圈子
    public static final String NEIGHBOR_MAIN_USER = HTTP_URL_BASE_HEAD + "ncs/oauth2/circles/";

    //邻里圈-附近圈子列表
    public static final String NEIGHBOR_NEAR = HTTP_URL_BASE_HEAD + "ncs/oauth2/circles/nearHood";

    //邻里圈-加入圈子
    public static final String NEIGHBOR_ADD = HTTP_URL_BASE_HEAD + "ncs/oauth2/circleuser";

    //邻里圈-退出圈子
    public static final String NEIGHBOR_QUIT = HTTP_URL_BASE_HEAD + "ncs/oauth2/circlequit";

    //邻里圈-圈子信息
    public static final String NEIGHBOR_MSG = HTTP_URL_BASE_HEAD + "ncs/oauth2/circles";

    //邻里圈-圈子人员
    public static final String NEIGHBOR_PERSONS = HTTP_URL_BASE_HEAD + "ncs/oauth2/circles";

    //邻里圈-圈子人员
    public static final String NEIGHBOR_PERSONS_INFO = HTTP_URL_BASE_HEAD + "ncs/oauth2/blogs";

    //邻里圈-发布动态-类型
    public static final String NEIGHBOR_PUBLISH_TIPS = HTTP_URL_BASE_HEAD + "ncs/oauth2/blog-types";

    //邻里圈-发布动态-上传图片
    public static final String NEIGHBOR_PUBLISH_UPLOAD = HTTP_URL_BASE_HEAD + "ncs/oauth2/images";

    //邻里圈-发布动态
    public static final String NEIGHBOR_PUBLISH = HTTP_URL_BASE_HEAD + "ncs/oauth2/blogs";

    //邻里圈-圈子动态
    public static final String CIRCLE_DYNAMIC = HTTP_URL_BASE_HEAD + "ncs/oauth2/blogs";

    public static final String CIRCLES_MSG = HTTP_URL_BASE_HEAD + "ncs/oauth2/circles";

    //Wifi天数
    public static final String WIFI_DAY_URL = HTTP_URL_BASE_HEAD + "sqr-wifi-stag/sqr/search/";

    //更新上网天数
    public static final String UPDATE_WIFI_DAY_URL = HTTP_URL_BASE_HEAD + "sqr-wifi-stag/sqr/updateMinus";

    //新增上网天数
    public static final String ADD_WIFI_DAY_URL = HTTP_URL_BASE_HEAD + "sqr-wifi-stag/sqr/updatePlus";

    //连接wifi状态检测接口
    public static final String CHECK_WIFI_STATE = "http://szfsk.nas.epplink.net/status";

    //连接wifi,获取账号密码接口
    public static final String GET_WIFI_ACCOUNT = "http://fudi.freewifibox.com/api/app_account_states";

    //连接wifi,账号密码认证接口
    public static final String WIFI_ATTESTATION = "http://szfsk.nas.epplink.net/login";

    //连接wifi,退出登录接口
    public static final String WIFI_LOGOUT = "http://szfsk.nas.epplink.net/logout";

    //限时购-时间
    public static final String TIME_LIMIT_TIME = HTTP_URL_BASE_HEAD + "gds/limit-times";

    //限时购-商品
    public static final String TIME_LIMIT_GOODS = HTTP_URL_BASE_HEAD + "gds/goods-sqrs-limit-time";

    //限时购-开抢提醒
    public static final String SEND_TIPS = HTTP_URL_BASE_HEAD + "gds/goods-time-limited";

    //根据商品id查询商品基本信息
    public static final String GOODS_INFOES_FOR_ID = HTTP_URL_BASE_HEAD + "gds/goods-sqrs";

    //根据显示类目Id查询所有的商品信息
    public static final String CHUNNEL_SHOW_CATEGORIES = HTTP_URL_BASE_HEAD + "chn/chunnel-show-categories";

    //365根据显示类目Id查询所有的商品信息
    public static final String CHANNEL_OUT_CATEGORIES = HTTP_URL_BASE_HEAD + "chn/chunnel-show-categories-shop";

    //积分兑换记录
    public static final String INTEGRAL_HISTORY_URL = HTTP_URL_BASE_HEAD + "chn/convertibility-record";

    //积分优惠券
    public static final String INTEGRAL_COUPON_URL = HTTP_URL_BASE_HEAD + "yhq/coupon-info/integral";

    //积分优惠券兑换
    public static final String INTEGRAL_EXCHANGE_COUPON_URL = HTTP_URL_BASE_HEAD + "yhq/coupon-receive/integral";

    //区域查询
    public static final String REGIONS = HTTP_URL_BASE_HEAD + "dic/ty-config-regions/prefecture-level-city";

    //社区人优惠专区
    public static final String PREFERENTIAL_AREA = HTTP_URL_BASE_HEAD + "gds/sqrs/preferential-area";

    //未读数
    public static final String UNREAD_COUNT = HTTP_URL_BASE_HEAD + "bms/unreadcount";

    //邻里圈公告信息
    public static final String NEIGH_HEADLINE = HTTP_URL_BASE_HEAD + "chn/chunnel-headline/neigh";


    //订单评论
    public static final String ORDER_COMMONIT = HTTP_URL_BASE_HEAD + "pls/comment-order";

    //卡商城品牌显示类目
    public static final String CARD_HOME_URL = HTTP_URL_BASE_HEAD + "chn/card-categories";

    //卡多多品牌
    public static final String CARD_BRAND_URL = HTTP_URL_BASE_HEAD + "gds/goods-sqrs-brand";

    //获取话费充值金额列表
    public static final String PHONE_FARE_LIST = HTTP_URL_BASE_HEAD + "chn/chunnel-phone-charges";

    //话费充值
    public static final String PHONE_FARE = HTTP_URL_BASE_HEAD + "chn/phone-recharge-logs";

    //话费充值记录
    public static final String FARE_DEAL_LIST = HTTP_URL_BASE_HEAD + "chn/phone-recharge-logs/year";

    //根据平台及显示类目查询商品信息(热卖推荐)
    public static final String CHUNNEL_HOT_SALE_ALL = HTTP_URL_BASE_HEAD + "chn/chunnel-hot-sale-all";

    //查询热买推荐商品的类目列表
    public static final String CHUNNEL_HOT_SALE_SHOW = HTTP_URL_BASE_HEAD + "chn/chunnel-hot-sale-show";

    //365地址列表
    public static final String REGIONS_URL = HTTP_URL_BASE_HEAD + "dic/ty-config-regions";

    //365、电商邮费查询
    public static final String ORDER_POSTAGE = HTTP_URL_BASE_HEAD + "ods/orders/shippingFee";

    //购物车店铺邮费活动
    public static final String SHOP_CART_POSTAGE = HTTP_URL_BASE_HEAD + "chn/chunnel-shop-postage-open";

    //获取微信OpenId
    public static final String WEXIN_OPENID_URL = HTTP_URL_BASE_HEAD + "lgn/info";

    //附近接龙
    public static final String DOMINOS_NEARBY_URL = HTTP_URL_BASE_HEAD + "dmn/dominos/nearby";

    //拼团支付
    public static final String GROUP_PAYMENT_URL = HTTP_URL_BASE_HEAD + "fcb/orders/payment";
}
